package com.longma.server.dao.impl;

import com.longma.server.dao.mapper.RealtimeMapper;
import com.longma.server.entity.RealtimeData;
import com.longma.server.dao.RealtimeDataDAO;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author CodeGenerator
 * @since 2021-05-16
 */
@Service
public class RealtimeDataDAOImpl extends ServiceImpl<RealtimeMapper, RealtimeData> implements RealtimeDataDAO {
    @Override
    public List<RealtimeData> getRealtimeDataRecord(List<Integer> yuncangIds, LocalDateTime startTime, LocalDateTime endTime) {
        return getBaseMapper().getRealtimeDataRecord(yuncangIds,startTime,endTime);
    }
}
